#pragma once
#include <QDebug>
#include <QObject>
#include <QVariant>
#include <QThread>

#include "WorkThread.h"

class ThreadController : public QObject
{
	Q_OBJECT
public:
	ThreadController(QObject* parent = nullptr);
	~ThreadController();

public slots:
	void handleResults(const int &des);

signals:

	void SignalRSGISFilter(QList<QVariant> AlgParaList);
	void SignalRSGISImageCal(QList<QVariant> AlgParaList);
	void SignalRSGISEle(QList<QVariant> AlgParaList);
	void SignalRSGISMor(QList<QVariant> AlgParaList);
	void SignalRSGISImageClb(QList<QVariant> AlgParaList);
	void SignalRSGISClass(QList<QVariant> AlgParaList);
	void SignalRSGISSeg(QList<QVariant> AlgParaList);
	void SignalRSGISRegi(QList<QVariant> AlgParaList);
	void SignalRSGISImageUti(QList<QVariant> AlgParaList);
	void SignalRSGISZonalStats(QList<QVariant> AlgParaList);
	void SignalRSGISRGIS(QList<QVariant> AlgParaList);

public:
	QThread thread;
};
